home *** CD-ROM | disk | FTP | other *** search
/ Freelog 115 / FreelogNo115-MaiJuin2013.iso / Internet / Filezilla Server / FileZilla_Server-0_9_41.exe / source / interface / OfflineAskDlg.cpp < prev    next >
C/C++ Source or Header  |  2011-11-06  |  2KB  |  72 lines

  1. // FileZilla Server - a Windows ftp server
  2.  
  3. // Copyright (C) 2002-2004 - Tim Kosse <tim.kosse@gmx.de>
  4.  
  5. // This program is free software; you can redistribute it and/or
  6. // modify it under the terms of the GNU General Public License
  7. // as published by the Free Software Foundation; either version 2
  8. // of the License, or (at your option) any later version.
  9.  
  10. // This program is distributed in the hope that it will be useful,
  11. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. // GNU General Public License for more details.
  14.  
  15. // You should have received a copy of the GNU General Public License
  16. // along with this program; if not, write to the Free Software
  17. // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  18.  
  19. // OfflineAskDlg.cpp: Implementierungsdatei
  20. //
  21.  
  22. #include "stdafx.h"
  23. #include "filezilla server.h"
  24. #include "OfflineAskDlg.h"
  25.  
  26. #if defined(_DEBUG) && !defined(MMGR)
  27. #define new DEBUG_NEW
  28. #undef THIS_FILE
  29. static char THIS_FILE[] = __FILE__;
  30. #endif
  31.  
  32. /////////////////////////////////////////////////////////////////////////////
  33. // Dialogfeld COfflineAskDlg 
  34.  
  35.  
  36. COfflineAskDlg::COfflineAskDlg(CWnd* pParent /*=NULL*/)
  37.     : CDialog(COfflineAskDlg::IDD, pParent)
  38. {
  39.     //{{AFX_DATA_INIT(COfflineAskDlg)
  40.     m_nRadio = -1;
  41.     //}}AFX_DATA_INIT
  42. }
  43.  
  44.  
  45. void COfflineAskDlg::DoDataExchange(CDataExchange* pDX)
  46. {
  47.     CDialog::DoDataExchange(pDX);
  48.     //{{AFX_DATA_MAP(COfflineAskDlg)
  49.     DDX_Radio(pDX, IDC_RADIO1, m_nRadio);
  50.     //}}AFX_DATA_MAP
  51. }
  52.  
  53.  
  54. BEGIN_MESSAGE_MAP(COfflineAskDlg, CDialog)
  55.     //{{AFX_MSG_MAP(COfflineAskDlg)
  56.     //}}AFX_MSG_MAP
  57. END_MESSAGE_MAP()
  58.  
  59. /////////////////////////////////////////////////////////////////////////////
  60. // Behandlungsroutinen fⁿr Nachrichten COfflineAskDlg 
  61.  
  62. BOOL COfflineAskDlg::OnInitDialog() 
  63. {
  64.     CDialog::OnInitDialog();
  65.     
  66.     m_nRadio=0;
  67.     UpdateData(FALSE);
  68.     
  69.     return TRUE;  // return TRUE unless you set the focus to a control
  70.                   // EXCEPTION: OCX-Eigenschaftenseiten sollten FALSE zurⁿckgeben
  71. }
  72.